| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

Public Member Functions | List of all members
nkDebug::OutputTarget Class Referencefinal

Allows to customize the output target of test results. More...

## Public Member Functions
| OutputTarget () noexcept
| ~OutputTarget ()
void | setTargetLogManager ()
void | setTargetFile (nkMemory::StringView path)
void | write (nkMemory::StringView s)

## Detailed Description

Allows to customize the output target of test results.

## Constructor & Destructor Documentation

## ◆ OutputTarget()

nkDebug::OutputTarget::OutputTarget | ( |  | ) |
| noexcept

Default constructor. By default, an OutputTarget will write to the LogManager.

## ◆ ~OutputTarget()

nkDebug::OutputTarget::~OutputTarget | ( |  | ) |

Destructor.

## Member Function Documentation

## ◆ setTargetLogManager()

void nkDebug::OutputTarget::setTargetLogManager | ( |  | ) |

Sets the output target as the LogManager.

## ◆ setTargetFile()

void nkDebug::OutputTarget::setTargetFile | ( | nkMemory::StringView | path | ) |

Sets the output target as a file.

Parameters

  path | The path to the target file. Will be interpreted relative to nkResource's working folder (see nkResources::ResourceManager::setWorkingPath).

## ◆ write()

void nkDebug::OutputTarget::write | ( | nkMemory::StringView | s | ) |

Requests to write to the target output.

Parameters

  s | The string to write.

The documentation for this class was generated from the following file:

- Documentation/Headers/NilkinsDebug/Testing/Outputs/OutputTarget.h